package org.zjframework.traceframe.common.pagemodel;

import java.util.List;

public class TodoPage {

	private int totalCount;		//总条目数
	private int pageCount;		//总页数
	private int currentPage;	//当前页
	private boolean hasNext;	//是否有下一页
	private boolean hasLast;	//是否有上一页
	private List<TodoVO> context;
	public int getTotalCount() {
		return totalCount;
	}
	public void setTotalCount(int totalCount) {
		this.totalCount = totalCount;
	}
	public int getPageCount() {
		return pageCount;
	}
	public void setPageCount(int pageCount) {
		this.pageCount = pageCount;
	}
	public int getCurrentPage() {
		return currentPage;
	}
	public void setCurrentPage(int currentPage) {
		this.currentPage = currentPage;
	}
	public boolean isHasNext() {
		return hasNext;
	}
	public void setHasNext(boolean hasNext) {
		this.hasNext = hasNext;
	}
	public boolean isHasLast() {
		return hasLast;
	}
	public void setHasLast(boolean hasLast) {
		this.hasLast = hasLast;
	}
	public List<TodoVO> getContext() {
		return context;
	}
	public void setContext(List<TodoVO> context) {
		this.context = context;
	}
}
